export default {
  async nuxtServerInit({ commit }, { req, app }) {
    
    const userInfo = await app.$axios.get(
      'http://127.0.0.1:8802/crux-uc/api/user/me'
    )
    // console.log(userInfo.data);
    const { data } = await app.$axios.get('/api/blog/list')
    commit('setdataList', data)
  },
}
